Optimal. Leaf size=145 \[ \frac {\log \left (c+d x^3\right )}{6 d^{2/3} \sqrt [3]{b c-a d}}-\frac {\log \left (\sqrt [3]{b c-a d}+\sqrt [3]{d} \sqrt [3]{a+b x^3}\right )}{2 d^{2/3} \sqrt [3]{b c-a d}}-\frac {\tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{d} \sqrt [3]{a+b x^3}}{\sqrt [3]{b c-a d}}}{\sqrt {3}}\right )}{\sqrt {3} d^{2/3} \sqrt [3]{b c-a d}} \]
________________________________________________________________________________________
Rubi [A] time = 0.13, antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {444, 56, 617, 204, 31} \begin {gather*} \frac {\log \left (c+d x^3\right )}{6 d^{2/3} \sqrt [3]{b c-a d}}-\frac {\log \left (\sqrt [3]{b c-a d}+\sqrt [3]{d} \sqrt [3]{a+b x^3}\right )}{2 d^{2/3} \sqrt [3]{b c-a d}}-\frac {\tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{d} \sqrt [3]{a+b x^3}}{\sqrt [3]{b c-a d}}}{\sqrt {3}}\right )}{\sqrt {3} d^{2/3} \sqrt [3]{b c-a d}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 56
Rule 204
Rule 444
Rule 617
Rubi steps
\begin {align*} \int \frac {x^2}{\sqrt [3]{a+b x^3} \left (c+d x^3\right )} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {1}{\sqrt [3]{a+b x} (c+d x)} \, dx,x,x^3\right )\\ &=\frac {\log \left (c+d x^3\right )}{6 d^{2/3} \sqrt [3]{b c-a d}}+\frac {\operatorname {Subst}\left (\int \frac {1}{\frac {(b c-a d)^{2/3}}{d^{2/3}}-\frac {\sqrt [3]{b c-a d} x}{\sqrt [3]{d}}+x^2} \, dx,x,\sqrt [3]{a+b x^3}\right )}{2 d}-\frac {\operatorname {Subst}\left (\int \frac {1}{\frac {\sqrt [3]{b c-a d}}{\sqrt [3]{d}}+x} \, dx,x,\sqrt [3]{a+b x^3}\right )}{2 d^{2/3} \sqrt [3]{b c-a d}}\\ &=\frac {\log \left (c+d x^3\right )}{6 d^{2/3} \sqrt [3]{b c-a d}}-\frac {\log \left (\sqrt [3]{b c-a d}+\sqrt [3]{d} \sqrt [3]{a+b x^3}\right )}{2 d^{2/3} \sqrt [3]{b c-a d}}+\frac {\operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{d} \sqrt [3]{a+b x^3}}{\sqrt [3]{b c-a d}}\right )}{d^{2/3} \sqrt [3]{b c-a d}}\\ &=-\frac {\tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{d} \sqrt [3]{a+b x^3}}{\sqrt [3]{b c-a d}}}{\sqrt {3}}\right )}{\sqrt {3} d^{2/3} \sqrt [3]{b c-a d}}+\frac {\log \left (c+d x^3\right )}{6 d^{2/3} \sqrt [3]{b c-a d}}-\frac {\log \left (\sqrt [3]{b c-a d}+\sqrt [3]{d} \sqrt [3]{a+b x^3}\right )}{2 d^{2/3} \sqrt [3]{b c-a d}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.02, size = 50, normalized size = 0.34 \begin {gather*} \frac {\left (a+b x^3\right )^{2/3} \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};\frac {d \left (b x^3+a\right )}{a d-b c}\right )}{2 b c-2 a d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.17, size = 201, normalized size = 1.39 \begin {gather*} -\frac {\log \left (\sqrt [3]{b c-a d}+\sqrt [3]{d} \sqrt [3]{a+b x^3}\right )}{3 d^{2/3} \sqrt [3]{b c-a d}}+\frac {\log \left (-\sqrt [3]{d} \sqrt [3]{a+b x^3} \sqrt [3]{b c-a d}+(b c-a d)^{2/3}+d^{2/3} \left (a+b x^3\right )^{2/3}\right )}{6 d^{2/3} \sqrt [3]{b c-a d}}-\frac {\tan ^{-1}\left (\frac {1}{\sqrt {3}}-\frac {2 \sqrt [3]{d} \sqrt [3]{a+b x^3}}{\sqrt {3} \sqrt [3]{b c-a d}}\right )}{\sqrt {3} d^{2/3} \sqrt [3]{b c-a d}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.82, size = 592, normalized size = 4.08 \begin {gather*} \left [\frac {3 \, \sqrt {\frac {1}{3}} {\left (b c d - a d^{2}\right )} \sqrt {\frac {{\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}}}{b c - a d}} \log \left (\frac {2 \, b d^{2} x^{3} - b c d + 3 \, a d^{2} + 3 \, \sqrt {\frac {1}{3}} {\left (2 \, {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} {\left (b x^{3} + a\right )}^{\frac {2}{3}} + {\left (b x^{3} + a\right )}^{\frac {1}{3}} {\left (b c d - a d^{2}\right )} + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}} {\left (b c - a d\right )}\right )} \sqrt {\frac {{\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}}}{b c - a d}} - 3 \, {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} {\left (b x^{3} + a\right )}^{\frac {1}{3}}}{d x^{3} + c}\right ) + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {2}{3}} d^{2} + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}} {\left (b x^{3} + a\right )}^{\frac {1}{3}} d + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}}\right ) - 2 \, {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {1}{3}} d - {\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}}\right )}{6 \, {\left (b c d^{2} - a d^{3}\right )}}, \frac {6 \, \sqrt {\frac {1}{3}} {\left (b c d - a d^{2}\right )} \sqrt {-\frac {{\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}}}{b c - a d}} \arctan \left (\frac {\sqrt {\frac {1}{3}} {\left (2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}} d + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}}\right )} \sqrt {-\frac {{\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}}}{b c - a d}}}{d}\right ) + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {2}{3}} d^{2} + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}} {\left (b x^{3} + a\right )}^{\frac {1}{3}} d + {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}}\right ) - 2 \, {\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {1}{3}} d - {\left (-b c d^{2} + a d^{3}\right )}^{\frac {1}{3}}\right )}{6 \, {\left (b c d^{2} - a d^{3}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 226, normalized size = 1.56 \begin {gather*} -\frac {{\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} \arctan \left (\frac {\sqrt {3} {\left (2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}} + \left (-\frac {b c - a d}{d}\right )^{\frac {1}{3}}\right )}}{3 \, \left (-\frac {b c - a d}{d}\right )^{\frac {1}{3}}}\right )}{\sqrt {3} b c d^{2} - \sqrt {3} a d^{3}} + \frac {{\left (-b c d^{2} + a d^{3}\right )}^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {2}{3}} + {\left (b x^{3} + a\right )}^{\frac {1}{3}} \left (-\frac {b c - a d}{d}\right )^{\frac {1}{3}} + \left (-\frac {b c - a d}{d}\right )^{\frac {2}{3}}\right )}{6 \, {\left (b c d^{2} - a d^{3}\right )}} - \frac {\left (-\frac {b c - a d}{d}\right )^{\frac {2}{3}} \log \left ({\left | {\left (b x^{3} + a\right )}^{\frac {1}{3}} - \left (-\frac {b c - a d}{d}\right )^{\frac {1}{3}} \right |}\right )}{3 \, {\left (b c - a d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.60, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (b \,x^{3}+a \right )^{\frac {1}{3}} \left (d \,x^{3}+c \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.93, size = 208, normalized size = 1.43 \begin {gather*} \frac {\ln \left (d\,{\left (b\,x^3+a\right )}^{1/3}-\frac {9\,a\,d^3-9\,b\,c\,d^2}{9\,d^{4/3}\,{\left (a\,d-b\,c\right )}^{2/3}}\right )}{3\,d^{2/3}\,{\left (a\,d-b\,c\right )}^{1/3}}+\frac {\ln \left (d\,{\left (b\,x^3+a\right )}^{1/3}-\frac {{\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )}^2\,\left (9\,a\,d^3-9\,b\,c\,d^2\right )}{36\,d^{4/3}\,{\left (a\,d-b\,c\right )}^{2/3}}\right )\,\left (-1+\sqrt {3}\,1{}\mathrm {i}\right )}{6\,d^{2/3}\,{\left (a\,d-b\,c\right )}^{1/3}}-\frac {\ln \left (d\,{\left (b\,x^3+a\right )}^{1/3}-\frac {{\left (1+\sqrt {3}\,1{}\mathrm {i}\right )}^2\,\left (9\,a\,d^3-9\,b\,c\,d^2\right )}{36\,d^{4/3}\,{\left (a\,d-b\,c\right )}^{2/3}}\right )\,\left (1+\sqrt {3}\,1{}\mathrm {i}\right )}{6\,d^{2/3}\,{\left (a\,d-b\,c\right )}^{1/3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\sqrt [3]{a + b x^{3}} \left (c + d x^{3}\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________